import Vue from 'vue'
import Vuex from 'vuex'
import movie from './modules/movie'
import book from './modules/book'
import heroes from './modules/heroes'
// 需要在main.js中引入
Vue.use(Vuex)

export default new Vuex.Store({
    modules: {
        movie,
        book,
        heroes
    }
})